package com.homegoods.discover.model;

import com.homegoods.discover.item.MessageTipItem;
import com.kedll.library.adapter.MultiTypeAdapter;
import com.kedll.library.mvp.BaseModel;

/**
 * @author QiQi
 * @ClassName: ActivityModel
 * @date 2018/10/3
 * @description
 */
public class MessageTipModel extends BaseModel<MessageTipItem> {


    private String id;
    private String date;
    private String title;

    public String getId() {
        return id == null ? "" : id;
    }

    public String getDate() {
        return date == null ? "" : date;
    }

    public String getTitle() {
        return title == null ? "" : title;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public MessageTipItem createItem(MultiTypeAdapter adapter) {
        return new MessageTipItem(this, adapter);
    }
}
